<input type="hidden" id="<?php echo $id; ?>" name="<?php echo $id; ?>"<?php
	$has_value = isset($value) && $value != '';
	if ($has_value) echo ' value="'.$value.'"';
?>/>
<div class="f-upload-file-wrap"><input type="file" name="_f_upload_file_" <?php 
	if ($disabled) echo ' disabled="disabled"';
	echo $this->attr($attr); 
?>/></div>
<div class="f-upload-image-preview"><span><img src="<?php echo $this->url($has_value ? 
	'/files/'.$value : $default_preview); ?>" /></span></div>